<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Laravel\Scout\Searchable;

class Banana extends Model
{
    use Searchable;

    protected $fillable = [
        'title',
    ];

    /**
     * 设置模型的索引名称
     *
     * @return string
     */
    public function searchableAs()
    {
    	return 'bananas_index';
    }
}
